home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI Developer Toolbox 6.1
/
SGI Developer Toolbox 6.1 - Disc 4.iso
/
public
/
fax
/
src
/
port
/
aix32
/
Makefile.flexfax
< prev
next >
Wrap
Makefile
|
1994-08-01
|
3KB
|
106 lines
#!smake
# $Header: /usr/people/sam/fax/port/aix32/RCS/Makefile.flexfax,v 1.2 1993/09/09 13:47:00 sam Rel $
#
# FlexFAX Facsimile Software
#
# Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993 Sam Leffler
# Copyright (c) 1991, 1992, 1993 Silicon Graphics, Inc.
#
# Permission to use, copy, modify, distribute, and sell this software and
# its documentation for any purpose is hereby granted without fee, provided
# that (i) the above copyright notices and this permission notice appear in
# all copies of the software and related documentation, and (ii) the names of
# Sam Leffler and Silicon Graphics may not be used in any advertising or
# publicity relating to the software without the specific, prior written
# permission of Sam Leffler and Silicon Graphics.
#
# THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
# EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
# WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
#
# IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
# ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
# OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
# WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
# LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
# OF THIS SOFTWARE.
#
COMMONPREF=fax
DEPTH= .
include defs
DIRS= \
${PORT} \
iv \
util \
fax2ps \
faxalter \
faxcover \
faxd \
faxmail \
faxrm \
faxstat \
recvfax \
sendfax \
\
doc \
etc \
man \
${NULL}
OTHERDIRS=\
libtiff \
${NULL}
.PATH: ${DIRS} ${OTHERDIRS}
TARGETS=flexfax
default all ${TARGETS}:
@${MAKE} -f ${MAKEFILE} dirs
include rules
dirs::
@for i in ${OTHERDIRS} ${DIRS}; do \
(${ECHO} "= "$$i; cd $$i; ${MAKE}); \
done
depend::
@for i in ${DIRS}; do \
(${ECHO} "= "$$i; cd $$i; ${MAKE} depend); \
done
clean::
@for i in ${OTHERDIRS} ${DIRS}; do \
(${ECHO} "= "$$i; cd $$i; ${MAKE} clean); \
done
clobber::
@for i in ${OTHERDIRS} ${DIRS}; do \
(${ECHO} "= "$$i; cd $$i; ${MAKE} clobber); \
done
makeClientDirs::
${INSTALL} -u bin -g sys -m 755 -idb flexfax.sw.client -dir \
${BIN} ${LIBDATA} ${LIBEXEC}
makeServerDirs::
${INSTALL} -u bin -g sys -m 755 -idb flexfax.sw.server -dir ${USRETC}
${INSTALL} -u ${FAXUSER} -g ${FAXGROUP} -m 755 \
-idb flexfax.sw.server -dir ${SPOOL}
${INSTALL} -u ${FAXUSER} -g ${FAXGROUP} -m 755 \
-idb flexfax.sw.server -dir \
-F ${SPOOL} bin etc recvq sendq tmp info cinfo log status
${INSTALL} -u ${FAXUSER} -g ${FAXGROUP} -m 700 \
-idb flexfax.sw.server -dir \
-F ${SPOOL} docq
makeDirs: makeClientDirs makeServerDirs
makeDevices::
${INSTALL} -u ${FAXUSER} -g ${FAXGROUP} -m 600 -fifo \
-idb flexfax.sw.server -F ${SPOOL} FIFO
install: makeDirs makeDevices
@for i in ${DIRS}; do \
(${ECHO} "= "$$i; cd $$i; ${MAKE} install); \
done
include distrules